package com.computergames.server.service.Deal;

import com.computergames.server.domain.MahjongTile;

public class DealStrategyFactory {
    public static  DealStrategy getDealStrategy(String roomType)
    {
        return switch (roomType) {
            case "麻将" -> new MahjongDealStrategy();
            case "德州扑克" -> new PokerDealStrategy();
            case "斗地主" -> LandlordDealStrategy.getInstance();
            default -> null;
        };
    }
}
